package com.donggei.exp_mybatis.mapper;

import com.donggei.exp_mybatis.pojo.User;

import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface IUserDao {
    public User getUser(Integer id);

    public List<User> findAllUser();

    public List<User> findUsers(@Param("userName") String userName, @Param("note") String note);

    public Integer insertUser(User user);

    public Integer deleteUser(Integer id);

    Integer updateUser(User user);
}